package cn.edu.hnu.gpg.dto;

public class AnswerToQuestion {
    private String answer;
    private int question_id;

    public AnswerToQuestion(){};

    public AnswerToQuestion(int question_id,String answer){
        this.answer = answer;
        this.question_id = question_id;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getAnswer() {
        return answer;
    }

    public void setQuestion_id(int question_id) {
        this.question_id = question_id;
    }

    public int getQuestion_id() {
        return question_id;
    }
}
